package com.mida.bms.report.common.cons;


import com.mida.tool.common.cons.RespConst;
import com.mida.tool.common.result.RetMsg;

/**
 * @Author: yutao
 * @Date: 2021/3/14 20:16
 * @Version: v1.0
 */
public class ReportConst extends RespConst {
    /**
     * 数据异常常量集
     */
    public static class ReportErr {
        public static class Empty {
            public static final RetMsg USER_INFO = new RetMsg("B00001", "获取不到用户信息");
            public static final RetMsg REQUEST_ID = new RetMsg("B00002", "申请单标识不能为空");
            public static final RetMsg PATIENT_SOID = new RetMsg("B00003", "患者soid不能为空");
            public static final RetMsg TEMPLATE = new RetMsg("B00004", "结构化模板基本信息标识不能为空");
            public static final RetMsg SERVICE = new RetMsg("B00005", "检查服务实例不能为空");
            public static final RetMsg REPORT_TYPE = new RetMsg("B00006", "报告类型参数不能为空");
            public static final RetMsg REPORT_ID = new RetMsg("B00007","报告存储信息标识不能为空");
            public static final RetMsg CRITICAL_ID = new RetMsg("B00007","危急值主表主键不能为空");
        }

        public static class NotExist {
            public static final RetMsg REPORT = new RetMsg("B10001", "报告不存在");
        }

        public static class Type {
            public static final RetMsg REPORT = new RetMsg("B20001", "错误的报告类型");
        }
        public static class BIZ {
            public static final RetMsg SAME_URGENT = new RetMsg("B20001", "危急值已上传,不能重复提交");
        }

    }

    public static class PdfErr {
        public static final RetMsg EMPTY_FILE_INFO =
                new RetMsg("P00001", "获取pdf文件不存在，请联系管理员");
    }

}
